.cartContainer {
    background: #f5f5f5;
    min-height: 100vh;
    font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    color: #222;
    padding-bottom: 80px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 16px 10px 16px;
    background: #fff;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #eee;
}

.time {
    color: #222;
    font-size: 16px;
    font-weight: normal;
}

.title {
    flex: 1;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.edit {
    color: #ff4d4f;
    font-size: 15px;
    cursor: pointer;
}

.pickup {
    padding: 10px 16px;
    background: #fff;
    color: #888;
    font-size: 15px;
    border-bottom: 1px solid #eee;
}

.cartList {
    margin: 12px 0 0 0;
}

.cartItem {
    background: #fff;
    margin: 0 12px 12px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 8px #0001;
    padding: 10px 0 10px 0;
}

.itemHeader {
    display: flex;
    align-items: center;
    padding: 0 16px 6px 16px;
}

.seckill {
    background: #ff4d4f;
    color: #fff;
    font-size: 13px;
    border-radius: 8px;
    padding: 2px 8px;
    margin-right: 8px;
}

.timer {
    color: #ff4d4f;
    font-size: 13px;
    margin-left: 4px;
}

.groupBuy {
    background: #ff6f00;
    color: #fff;
    font-size: 13px;
    border-radius: 8px;
    padding: 2px 8px;
}

.itemBody {
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.checkbox {
    width: 20px;
    height: 20px;
    accent-color: #ff4d4f;
    margin-right: 10px;
}

.imgBox {
    width: 60px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    position: relative;
}

.imgPlaceholder {
    width: 32px;
    height: 24px;
    background: #ddd;
    border-radius: 4px;
    display: inline-block;
}

.info {
    flex: 1;
    min-width: 0;
}

.name {
    font-size: 15px;
    color: #222;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.limit {
    color: #ff4d4f;
    font-size: 12px;
    margin-bottom: 4px;
    display: inline-block;
}

.priceRow {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price {
    color: #ff4d4f;
    font-size: 16px;
    font-weight: bold;
}

.oldPrice {
    color: #bbb;
    font-size: 13px;
    text-decoration: line-through;
}

.countBox {
    display: flex;
    align-items: center;
    margin-left: 12px;
}

.countBtn {
    width: 26px;
    height: 26px;
    border: 1px solid #eee;
    background: #fff;
    color: #ff4d4f;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
    outline: none;
}

.count {
    width: 24px;
    text-align: center;
    font-size: 15px;
    margin: 0 4px;
}

/* 新增样式 */
.emptyCart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #fff;
    margin: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 8px #0001;
}

.emptyIcon {
    font-size: 48px;
    margin-bottom: 16px;
}

.emptyText {
    font-size: 18px;
    color: #666;
    margin-bottom: 8px;
}

.emptyTip {
    font-size: 14px;
    color: #999;
}

.productImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.tags {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}

.tag {
    background: #f0f0f0;
    color: #666;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
}

.activity {
    display: flex;
    gap: 4px;
}

.activityTag {
    background: #ff4d4f;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
}

.leftSection {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rightSection {
    display: flex;
    align-items: center;
    gap: 12px;
}

.priceInfo {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.deleteBtn {
    background: #ff4d4f;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

.invalidSection {
    background: #fff;
    margin: 0 12px 12px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 8px #0001;
    padding: 10px 0 10px 0;
}

.invalidHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 6px 16px;
    color: #888;
    font-size: 15px;
}

.clearInvalid {
    color: #ff4d4f;
    font-size: 13px;
    cursor: pointer;
}

.invalidItem {
    display: flex;
    align-items: center;
    padding: 0 16px;
    opacity: 0.6;
}

.invalidMark {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #bbb;
    color: #fff;
    font-size: 13px;
    border-radius: 0 0 8px 8px;
    text-align: center;
    width: 100%;
    padding: 2px 0;
}

.invalidDesc {
    color: #888;
    font-size: 13px;
    margin-top: 2px;
}

.footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 56px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    box-shadow: 0 -2px 8px #0001;
    z-index: 10;
}

.selectAll {
    margin-left: 6px;
    font-size: 15px;
    color: #222;
    display: flex;
    align-items: center;
    gap: 4px;
}

.selectedCount {
    font-size: 12px;
    color: #666;
}

.total {
    margin-left: 18px;
    font-size: 16px;
    color: #ff4d4f;
    font-weight: bold;
}

.save {
    margin-left: 10px;
    font-size: 13px;
    color: #bbb;
}

.submitBtn {
    margin-left: auto;
    background: #ff4d4f;
    color: #fff;
    border: none;
    border-radius: 22px;
    padding: 8px 28px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px #ff4d4f22;
}

.tabBar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    background: #fff;
    display: flex;
    align-items: center;
    border-top: 1px solid #eee;
    z-index: 20;
}

.tabItem {
    flex: 1;
    text-align: center;
    color: #888;
    font-size: 15px;
    position: relative;
    padding-top: 6px;
}

.tabItemActive {
    flex: 1;
    text-align: center;
    color: #ff4d4f;
    font-size: 15px;
    font-weight: bold;
    position: relative;
    padding-top: 6px;
}

.tabBadge {
    display: inline-block;
    background: #ff4d4f;
    color: #fff;
    font-size: 12px;
    border-radius: 50%;
    padding: 0 6px;
    margin-left: 2px;
    position: absolute;
    top: 2px;
    right: 32%;
}